package com.meilai.project.dto.business.saleOrder;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.List;

/**
 * @author ykb
 * @since 2022-03-07
 */
@Data
@ApiModel
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SaleIntentionOrderSaveDTO {

	@NotNull
	@ApiModelProperty("开始日期")
	private LocalDate beginDate;

	@NotNull
	@ApiModelProperty("结束日期")
	private LocalDate endDate;

	@ApiModelProperty(value = "销售员ID")
	private Long sale_id;

	@ApiModelProperty(value = "客户ID")
	private Long customer_id;

	@NotNull
	@ApiModelProperty("包含的楼盘点位需求列表")
	private List<SaleIntentionOrderDTO> orderList;

}
